<?php
namespace app\admin\model\inquiry;
use think\Model;
use traits\model\SoftDelete;

class Problem extends Model
{
    use SoftDelete;
    // 表名
    protected $name = 'inquiry_problem';
    // 开启自动写入时间戳字段
    protected $autoWriteTimestamp = 'int';
    // 定义时间戳字段名
    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';
    public function getStatusList()
    {
        return ['0' => __('未解决'), '1' => __('已解决')];
    }
}
